package entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
//@Schema(name = "Coupon", title = "优惠券实体类", description = "优惠券实体类")
public class Coupon {
<<<<<<< HEAD

=======
    //@Schema(description = "优惠券id")
>>>>>>> a8912c21561afc9b33187d78edd7407533bee61f
    private Long id;
    ///@Schema(description = "优惠券名称")
    private String name;
    //@Schema(description = "优惠券类型")
    private Integer type;
    //@Schema(description = "优惠券面值")
    private BigDecimal value;

    //@Schema(description = "优惠券已使用")
    private Integer used;
    private Integer status;
    private BigDecimal minPrice;
    private Integer order;
    private Integer total;
    private String desc;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createManagerId;
    private Long lastUpdateManagerId;
}
